<?php
/**
 * @link https://ym2.cleverstone.top
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */

namespace frontend\controllers;

//use common\models\User;

/**
 * 站点
 * @author cleverstone
 * @since ym2.0
 */
class SiteController extends BaseController
{
    public $actionVerbs = [
        'index' => ['GET'],
    ];

    public $publicActions = [
        'index',
    ];

    /**
     * Displays homepage.
     * @return mixed
     */
    public function actionIndex()
    {
        return <<<HTML
<style>*{font-size:15px;color:darkgrey;}code{color:deeppink;font-weight:700;font-size:25px;}</style>
Hello <code>frontend</code>, <br/>
Where this is a will, there is a way. <br/>
HTML;
    }
}
